package com.lagou.utils;

public enum SqlTypeEnum {

    INSERT(1, "insert"),
    UPDATE(2, "update"),
    DELETE(3, "delete"),
    SELECT(4, "select");

    private Integer code;
    private String desc;

    SqlTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
